package com.wyh.abst;

public class Cat extends Animal{
    @Override
    public void sleep() {
        System.out.println("Cat sleeping......");
    }

    public static void main(String[] args) {
        Animal animal = new Cat();
        animal.run();
        animal.sleep();
    }
}
